const { DataTypes } = require("sequelize")
const sequelize = require("../db/seq")

const TalkGroup = sequelize.define("talkgroup",{
    id:{
        type:DataTypes.INTEGER,
        autoIncrement:true,
        primaryKey:true, 
    },
    groupName:{
        type:DataTypes.STRING,
    },
    groupType:{
        type:DataTypes.INTEGER,
    }
},{
    tableName:"bl-talkgroup",
    timestamps:false,
})


module.exports = TalkGroup;